package com.inhim.pjhim.entity;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.io.Serializable;

public class DownloadAuthor extends LitePalSupport implements Serializable {
    //readerId是唯一的，
    @Column(unique = true)
    private int readerId;
    private int id;

    private String headPortrait;

    private String name;

    private String area;

    private String synopsis;

    private String createTime;

    private String identity;

    public void setId(int id){
        this.id = id;
    }
    public int getId(){
        return this.id;
    }
    public void setHeadPortrait(String headPortrait){
        this.headPortrait = headPortrait;
    }
    public String getHeadPortrait(){
        return this.headPortrait;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
    public void setArea(String area){
        this.area = area;
    }
    public String getArea(){
        return this.area;
    }
    public void setSynopsis(String synopsis){
        this.synopsis = synopsis;
    }
    public String getSynopsis(){
        return this.synopsis;
    }
    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }
    public String getCreateTime(){
        return this.createTime;
    }
    public void setIdentity(String identity){
        this.identity = identity;
    }
    public String getIdentity(){
        return this.identity;
    }
    public void setReaderId(int readerId){
        this.readerId = readerId;
    }
    public int getReaderId(){
        return this.readerId;
    }
}
